package com.upic.po;

import com.upic.base.entiy.BaseEntity;
import com.upic.enums.QuestionStatusEnum;
import com.upic.enums.QuestionTypeEnum;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

/**
 * Created by zhubuqing on 2018/2/7.
 */
@Data
@Entity
public class Question extends BaseEntity {
    private String text; // 题目文本

    private String testFocus; // 考点

    @Enumerated(EnumType.STRING)
    private QuestionTypeEnum type; // 类型

    @Enumerated(EnumType.STRING)
    private QuestionStatusEnum status; // 状态

    private String answers; // 答案（Json）

    private String value; // 值
}
